package com.tcp2.msg.rpc;
import com.yaxon.vndp.dms.Message;

import java.util.Date;

/**
 * Author: Zeng.S.Q
 * Time: 2014-10-11 17:16
 * Copyright (C) 2014 Xiamen Yaxon Networks CO.,LTD.
 *
 * 下发 报警督办 请求消息
 */
public class Dn_9401 implements Message{
    @Override
    public String id() {
        return "9401";
    }
    private Long platformId;//平台id
    private String accessCode;//平台接入码
    private String lpn;
    private Byte col;
    private Byte warnSrc;
    private Integer warnType;
    private Date warnTime;
    private Long supervisionId;//报警督办id（tenant_alarm表里的info_id）
    private Date supervisionEndTime;  //报警督办结束时间
    private Byte supervisionLevel;
    private Byte supervisionWay;
    private String supervisor;
    private String supervisorTel;
    private String supervisorEmail;
    private Long vid;

    //added by li song
    private String warnContent;

    private String districtName;

    private String currentDistrictName;

    private String sendToObject;

    public Byte getSupervisionWay() {
        return supervisionWay;
    }

    public void setSupervisionWay(Byte supervisionWay) {
        this.supervisionWay = supervisionWay;
    }

    public String getSendToObject() {
        return sendToObject;
    }

    public void setSendToObject(String sendToObject) {
        this.sendToObject = sendToObject;
    }

    public String getCurrentDistrictName() {
        return currentDistrictName;
    }

    public void setCurrentDistrictName(String currentDistrictName) {
        this.currentDistrictName = currentDistrictName;
    }

    public String getDistrictName() {
        return districtName;
    }

    public void setDistrictName(String districtName) {
        this.districtName = districtName;
    }

    public String getWarnContent() {
        return warnContent;
    }



    public void setWarnContent(String warnContent) {
        this.warnContent = warnContent;
    }

    public Long getVid() {
        return vid;
    }

    public void setVid(Long vid) {
        this.vid = vid;
    }

    public Long getPlatformId() {
        return platformId;
    }

    public void setPlatformId(Long platformId) {
        this.platformId = platformId;
    }

    public String getAccessCode() {
        return accessCode;
    }

    public void setAccessCode(String accessCode) {
        this.accessCode = accessCode;
    }

    public String getLpn() {
        return lpn;
    }

    public void setLpn(String lpn) {
        this.lpn = lpn;
    }

    public Byte getCol() {
        return col;
    }

    public void setCol(Byte col) {
        this.col = col;
    }

    public Byte getWarnSrc() {
        return warnSrc;
    }

    public void setWarnSrc(Byte warnSrc) {
        this.warnSrc = warnSrc;
    }

    public Integer getWarnType() {
        return warnType;
    }

    public void setWarnType(Integer warnType) {
        this.warnType = warnType;
    }

    public Date getWarnTime() {
        return warnTime;
    }

    public void setWarnTime(Date warnTime) {
        this.warnTime = warnTime;
    }

    public Long getSupervisionId() {
        return supervisionId;
    }

    public void setSupervisionId(Long supervisionId) {
        this.supervisionId = supervisionId;
    }

    public Date getSupervisionEndTime() {
        return supervisionEndTime;
    }

    public void setSupervisionEndTime(Date supervisionEndTime) {
        this.supervisionEndTime = supervisionEndTime;
    }

    public Byte getSupervisionLevel() {
        return supervisionLevel;
    }

    public void setSupervisionLevel(Byte supervisionLevel) {
        this.supervisionLevel = supervisionLevel;
    }

    public String getSupervisor() {
        return supervisor;
    }

    public void setSupervisor(String supervisor) {
        this.supervisor = supervisor;
    }

    public String getSupervisorTel() {
        return supervisorTel;
    }

    public void setSupervisorTel(String supervisorTel) {
        this.supervisorTel = supervisorTel;
    }

    public String getSupervisorEmail() {
        return supervisorEmail;
    }

    public void setSupervisorEmail(String supervisorEmail) {
        this.supervisorEmail = supervisorEmail;
    }

    @Override
    public String toString() {
        return "Dn_9401{" +
                "platformId=" + platformId +
                ", accessCode='" + accessCode + '\'' +
                ", lpn='" + lpn + '\'' +
                ", col=" + col +
                ", warnSrc=" + warnSrc +
                ", warnType=" + warnType +
                ", warnTime=" + warnTime +
                ", supervisionId=" + supervisionId +
                ", supervisionEndTime=" + supervisionEndTime +
                ", supervisionLevel=" + supervisionLevel +
                ", supervisor='" + supervisor + '\'' +
                ", supervisorTel='" + supervisorTel + '\'' +
                ", supervisorEmail='" + supervisorEmail + '\'' +
                ", vid=" + vid +
                ", warnContent='" + warnContent + '\'' +
                ", districtName='" + districtName + '\'' +
                ", currentDistrictName='" + currentDistrictName + '\'' +
                '}';
    }
}
